package com.runfast.waimai.dao.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class
RunfastGoodsSellRecord implements Serializable {
    /**
     * 外卖商品
     */


    private Integer id;

    private Integer businessid;//商家ID

    private String businessname;//商家名称

    private String content;//备注

    private Date createtime;//下单时间

    private Integer goodssellid;//商品id

    private String goodssellname;//商品名称

    private String ordercode;///订单号

    private BigDecimal price;//商品原总价格

    private Integer status;//订单状态编码-3:商家拒单-1：订单取消  0：客户下单，1：客户已付款  2：商家接单  3：骑手接单   4：商品打包 ，5：商品配送 6：商品送达，7:确认收货 ，8：订单完成 9异常单

    private String useraddress;//用户地址

    private Integer userid;//用户ID

    private String usermobile;//用户手机

    private String username;//用户姓名

    private String shopper;//配送员姓名

    private Integer shopperid;//配送员ID

    private Integer goodstotal;//商品数量

    private Integer useraddressid;//用户地址ID

    private Double yhprice;//优惠金额（优惠券）

    private BigDecimal packing;//打包费

    private BigDecimal showps;//配送费

    private String statstr;//订单状态编码 -1：订单取消  0：客户下单，1：客户已付款  2：商家接单  3：骑手接单   4：商品打包 ，5：商品配送 6：商品送达，7:确认收货 ，8：订单完成 9异常单

    private Date enddate;//送达时间

    private Integer rid;//红包id

    private Date startdate;//开始时间

    private BigDecimal totalpay;//应付金额

    private String distance;// 配送距离

    private Integer iswithdraw;//商家是否已提现 0未提现1已提现

    private String address;//用户地址id



    private Integer businessdel;//商家是否删除 1：已删除 ，其他正常状态

    private Integer ispay;//是否支付； 1：已支付， 其他未支付

    private Integer isrefund;//是否退款； 1：全额退款，2部分退款 ， 其他未退款

    private Integer userdel;//用户是否删除 1：已删除 ，其他正常状态

    private Integer iscoment;//是否评价；null：未评价 1：已评价商家， 2：全部评价

    private Integer isreceive;//是否收货； 1：已收货， 其他未收货

    private Integer iscancel;//用户提出取消订单 1:用户提出 2:商家同意取消订单3:不同意取消订单4.骑手同意取消订单5骑手不同意取消定单

    private BigDecimal commisson;//该笔订单骑手分红

    private BigDecimal shoppermoney;//配送员这个订单所得配送费

    private String businessaddresslat;// 配送纬度

    private String businessaddresslng;// 配送经度

    private String useraddresslat;//用户经度

    private String useraddresslng;//用户纬度

    private String businessaddr;//商家地址

    private BigDecimal businesspay;////商家部分(商家餐费+配送费(自己配送)+打包费)

    private BigDecimal refund;//退款金额

    private Integer isdeliver;//是否商家自己配送 0否  1是

    private String qrcode;//二维码凭证

    private String refundcontext;//拒单原因

    private BigDecimal businessget;//总佣金=商家拥有系数*（商家部分-配送费） agentget-businessget

    private String cityid;//城市ID

    private String cityname;//城市名

    private String countyid;//县份（废弃）

    private String countyname;//县份（废弃）

    private String townid;//乡镇（废弃）

    private String townname;//分组名称

    private Integer agentid;//代理商ID

    private String agentname;//代理商名字

    private String businessmobile;//商家电话

    private Double nocharge;//基础配送距离

    private String shoppermobile;//骑手号码

    private Integer shoppersign;//签到

    private Integer activityid;//活动id

    private String activityname;//活动名称

    private BigDecimal activityprice;//活动优惠金额

    private BigDecimal disprice;//原价的总金额（商品金额）

    private Integer distributiontime;//大约送达时间(分钟)

    private String oldshopper;//原先的骑手

    private Integer oldshopperid;//原先的骑手 ID

    private String oldshoppermobile;//原先的骑手id

    private BigDecimal agentget;//平台佣金

    private Date acepttime;//商家接单时间

    private Date paytime;//支付时间

    private Integer ismute;//-1商家未接单订单自动取消 0商家拒单1代理商确认取消2平台确认取消3商家确认取消

    private Integer isclearing;//是否可以结算1是（用于订单取消状态）

    private Date refundtime;//退款时间

    private Integer refundtype;//退款类型

    private BigDecimal agentbusget;//上级代理商佣金

    private BigDecimal acoefficient;//一级代理商提成系数

    private BigDecimal acoefficient2;//二级代理商提成系数

    private BigDecimal agentbusget2;//上级代理商佣金

    private BigDecimal coefficient;//商家提成系数

    private Integer isfirst;//是否2级代理商下的商家1是0否

    private Integer ptype;//活动内容 1满减  2打折3赠品4特价5满免运费

    private BigDecimal zjzd;//临时字段（用于update数据库）

    private Integer range1;//使用范围 1 全部 2指定商家3指定代理商

    private Integer stype;//临时字段（用于update数据库）

    private String couponname;//优惠券名称

    private Integer paytype;// 支付类型:0支付宝;1微信;2钱包

    private Integer ordernumber;//商家订单序号

    private Date accpttime;//推送到达时间

    private Integer isaccpt;//isaccpt	是否收到推送 1是

    private Integer pushtype;//推送类型0百度推送1小米推送2华为推送

    private String userphone;//用户手机

    private Integer apporwx;// 登陆方式0微信1APP

    private Date readytime;//订单完成时间

    private Date distime;//大约送达时间

    private Integer errend;// 是否异常结束1是

    private Integer teamid;//分组ID

    private String teamname;//分组名称

    private Integer istimerefund;//是否退款； 1是（重复支付，延时支付退款使用）

    private Integer issubsidy;//是否补贴配送费1是0否

    private BigDecimal lessps;//免除的运费

    private BigDecimal subsidy;//补贴金额

    private Integer agree;

    private String content1;//广告内容
    private Date bookTime; //预送单时间
    Integer suportSelf; //是不是到店自取 0否 1是
    String overTime; //添加的结束的时间
    Long returnTime;//添加的字段
    private Integer gender;///用户性别 0:男  ,1:女
    private Integer userAddressGender;//送达地址的id 性别
 //   boolean booked;
    Integer booked;
    Long daojiTime;

    public Long getDaojiTime() {
        return daojiTime;
    }

    public void setDaojiTime(Long daojiTime) {
        this.daojiTime = daojiTime;
    }

    public Integer getBooked() {
        return booked;
    }

    public void setBooked(Integer booked) {
        this.booked = booked;
    }
/*  public boolean isBooked() {
        return booked;
    }

    public void setBooked(boolean booked) {
        this.booked = booked;
    }*/

    public Integer getUserAddressGender() {
        return userAddressGender;
    }

    public void setUserAddressGender(Integer userAddressGender) {
        this.userAddressGender = userAddressGender;
    }



    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getOverTime() {
        return overTime;
    }

    public void setOverTime(String overTime) {
        this.overTime = overTime;
    }

    public Long getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Long returnTime) {
        this.returnTime = returnTime;
    }

    public Integer getSuportSelf() {
        return suportSelf;
    }

    public void setSuportSelf(Integer suportSelf) {
        this.suportSelf = suportSelf;
    }

    public Date getBookTime() {
        return bookTime;
    }

    public void setBookTime(Date bookTime) {
        this.bookTime = bookTime;
    }

    private static final long serialVersionUID = 1L;
    List<RunfastGoodsSellChildren> runfastGoodsSellChildren;
    public List<RunfastGoodsSellChildren> getRunfastGoodsSellChildren() {
        return runfastGoodsSellChildren;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setGoodsSellRecordChildren(List<RunfastGoodsSellChildren> runfastGoodsSellChildren) {
        this.runfastGoodsSellChildren=runfastGoodsSellChildren;
    }
    public Integer getId() {
        return id;
    }

    public RunfastGoodsSellRecord withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public RunfastGoodsSellRecord withBusinessid(Integer businessid) {
        this.setBusinessid(businessid);
        return this;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getBusinessname() {
        return businessname;
    }

    public RunfastGoodsSellRecord withBusinessname(String businessname) {
        this.setBusinessname(businessname);
        return this;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public String getContent() {
        return content;
    }

    public RunfastGoodsSellRecord withContent(String content) {
        this.setContent(content);
        return this;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastGoodsSellRecord withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getGoodssellid() {
        return goodssellid;
    }

    public RunfastGoodsSellRecord withGoodssellid(Integer goodssellid) {
        this.setGoodssellid(goodssellid);
        return this;
    }

    public void setGoodssellid(Integer goodssellid) {
        this.goodssellid = goodssellid;
    }

    public String getGoodssellname() {
        return goodssellname;
    }

    public RunfastGoodsSellRecord withGoodssellname(String goodssellname) {
        this.setGoodssellname(goodssellname);
        return this;
    }

    public void setGoodssellname(String goodssellname) {
        this.goodssellname = goodssellname == null ? null : goodssellname.trim();
    }

    public String getOrdercode() {
        return ordercode;
    }

    public RunfastGoodsSellRecord withOrdercode(String ordercode) {
        this.setOrdercode(ordercode);
        return this;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode == null ? null : ordercode.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public RunfastGoodsSellRecord withPrice(BigDecimal price) {
        this.setPrice(price);
        return this;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public RunfastGoodsSellRecord withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUseraddress() {
        return useraddress;
    }

    public RunfastGoodsSellRecord withUseraddress(String useraddress) {
        this.setUseraddress(useraddress);
        return this;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress == null ? null : useraddress.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public RunfastGoodsSellRecord withUserid(Integer userid) {
        this.setUserid(userid);
        return this;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsermobile() {
        return usermobile;
    }

    public RunfastGoodsSellRecord withUsermobile(String usermobile) {
        this.setUsermobile(usermobile);
        return this;
    }

    public void setUsermobile(String usermobile) {
        this.usermobile = usermobile == null ? null : usermobile.trim();
    }

    public String getUsername() {
        return username;
    }

    public RunfastGoodsSellRecord withUsername(String username) {
        this.setUsername(username);
        return this;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getShopper() {
        return shopper;
    }

    public RunfastGoodsSellRecord withShopper(String shopper) {
        this.setShopper(shopper);
        return this;
    }

    public void setShopper(String shopper) {
        this.shopper = shopper == null ? null : shopper.trim();
    }

    public Integer getShopperid() {
        return shopperid;
    }

    public RunfastGoodsSellRecord withShopperid(Integer shopperid) {
        this.setShopperid(shopperid);
        return this;
    }

    public void setShopperid(Integer shopperid) {
        this.shopperid = shopperid;
    }

    public Integer getGoodstotal() {
        return goodstotal;
    }

    public RunfastGoodsSellRecord withGoodstotal(Integer goodstotal) {
        this.setGoodstotal(goodstotal);
        return this;
    }

    public void setGoodstotal(Integer goodstotal) {
        this.goodstotal = goodstotal;
    }

    public Integer getUseraddressid() {
        return useraddressid;
    }

    public RunfastGoodsSellRecord withUseraddressid(Integer useraddressid) {
        this.setUseraddressid(useraddressid);
        return this;
    }

    public void setUseraddressid(Integer useraddressid) {
        this.useraddressid = useraddressid;
    }

    public Double getYhprice() {
        return yhprice;
    }

    public RunfastGoodsSellRecord withYhprice(Double yhprice) {
        this.setYhprice(yhprice);
        return this;
    }

    public void setYhprice(Double yhprice) {
        this.yhprice = yhprice;
    }

    public BigDecimal getPacking() {
        return packing;
    }

    public RunfastGoodsSellRecord withPacking(BigDecimal packing) {
        this.setPacking(packing);
        return this;
    }

    public void setPacking(BigDecimal packing) {
        this.packing = packing;
    }

    public BigDecimal getShowps() {
        return showps;
    }

    public RunfastGoodsSellRecord withShowps(BigDecimal showps) {
        this.setShowps(showps);
        return this;
    }

    public void setShowps(BigDecimal showps) {
        this.showps = showps;
    }

    public String getStatstr() {
        return statstr;
    }

    public RunfastGoodsSellRecord withStatstr(String statstr) {
        this.setStatstr(statstr);
        return this;
    }

    public void setStatstr(String statstr) {
        this.statstr = statstr == null ? null : statstr.trim();
    }

    public Date getEnddate() {
        return enddate;
    }

    public RunfastGoodsSellRecord withEnddate(Date enddate) {
        this.setEnddate(enddate);
        return this;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public Integer getRid() {
        return rid;
    }

    public RunfastGoodsSellRecord withRid(Integer rid) {
        this.setRid(rid);
        return this;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Date getStartdate() {
        return startdate;
    }

    public RunfastGoodsSellRecord withStartdate(Date startdate) {
        this.setStartdate(startdate);
        return this;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public BigDecimal getTotalpay() {
        return totalpay;
    }

    public RunfastGoodsSellRecord withTotalpay(BigDecimal totalpay) {
        this.setTotalpay(totalpay);
        return this;
    }

    public void setTotalpay(BigDecimal totalpay) {
        this.totalpay = totalpay;
    }

    public String getDistance() {
        return distance;
    }

    public RunfastGoodsSellRecord withDistance(String distance) {
        this.setDistance(distance);
        return this;
    }

    public void setDistance(String distance) {
        this.distance = distance == null ? null : distance.trim();
    }

    public Integer getIswithdraw() {
        return iswithdraw;
    }

    public RunfastGoodsSellRecord withIswithdraw(Integer iswithdraw) {
        this.setIswithdraw(iswithdraw);
        return this;
    }

    public void setIswithdraw(Integer iswithdraw) {
        this.iswithdraw = iswithdraw;
    }

    public String getAddress() {
        return address;
    }

    public RunfastGoodsSellRecord withAddress(String address) {
        this.setAddress(address);
        return this;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getBusinessdel() {
        return businessdel;
    }

    public RunfastGoodsSellRecord withBusinessdel(Integer businessdel) {
        this.setBusinessdel(businessdel);
        return this;
    }

    public void setBusinessdel(Integer businessdel) {
        this.businessdel = businessdel;
    }

    public Integer getIspay() {
        return ispay;
    }

    public RunfastGoodsSellRecord withIspay(Integer ispay) {
        this.setIspay(ispay);
        return this;
    }

    public void setIspay(Integer ispay) {
        this.ispay = ispay;
    }

    public Integer getIsrefund() {
        return isrefund;
    }

    public RunfastGoodsSellRecord withIsrefund(Integer isrefund) {
        this.setIsrefund(isrefund);
        return this;
    }

    public void setIsrefund(Integer isrefund) {
        this.isrefund = isrefund;
    }

    public Integer getUserdel() {
        return userdel;
    }

    public RunfastGoodsSellRecord withUserdel(Integer userdel) {
        this.setUserdel(userdel);
        return this;
    }

    public void setUserdel(Integer userdel) {
        this.userdel = userdel;
    }

    public Integer getIscoment() {
        return iscoment;
    }

    public RunfastGoodsSellRecord withIscoment(Integer iscoment) {
        this.setIscoment(iscoment);
        return this;
    }

    public void setIscoment(Integer iscoment) {
        this.iscoment = iscoment;
    }

    public Integer getIsreceive() {
        return isreceive;
    }

    public RunfastGoodsSellRecord withIsreceive(Integer isreceive) {
        this.setIsreceive(isreceive);
        return this;
    }

    public void setIsreceive(Integer isreceive) {
        this.isreceive = isreceive;
    }

    public Integer getIscancel() {
        return iscancel;
    }

    public RunfastGoodsSellRecord withIscancel(Integer iscancel) {
        this.setIscancel(iscancel);
        return this;
    }

    public void setIscancel(Integer iscancel) {
        this.iscancel = iscancel;
    }

    public BigDecimal getCommisson() {
        return commisson;
    }

    public RunfastGoodsSellRecord withCommisson(BigDecimal commisson) {
        this.setCommisson(commisson);
        return this;
    }

    public void setCommisson(BigDecimal commisson) {
        this.commisson = commisson;
    }

    public BigDecimal getShoppermoney() {
        return shoppermoney;
    }

    public RunfastGoodsSellRecord withShoppermoney(BigDecimal shoppermoney) {
        this.setShoppermoney(shoppermoney);
        return this;
    }

    public void setShoppermoney(BigDecimal shoppermoney) {
        this.shoppermoney = shoppermoney;
    }

    public String getBusinessaddresslat() {
        return businessaddresslat;
    }

    public RunfastGoodsSellRecord withBusinessaddresslat(String businessaddresslat) {
        this.setBusinessaddresslat(businessaddresslat);
        return this;
    }

    public void setBusinessaddresslat(String businessaddresslat) {
        this.businessaddresslat = businessaddresslat == null ? null : businessaddresslat.trim();
    }

    public String getBusinessaddresslng() {
        return businessaddresslng;
    }

    public RunfastGoodsSellRecord withBusinessaddresslng(String businessaddresslng) {
        this.setBusinessaddresslng(businessaddresslng);
        return this;
    }

    public void setBusinessaddresslng(String businessaddresslng) {
        this.businessaddresslng = businessaddresslng == null ? null : businessaddresslng.trim();
    }

    public String getUseraddresslat() {
        return useraddresslat;
    }

    public RunfastGoodsSellRecord withUseraddresslat(String useraddresslat) {
        this.setUseraddresslat(useraddresslat);
        return this;
    }

    public void setUseraddresslat(String useraddresslat) {
        this.useraddresslat = useraddresslat == null ? null : useraddresslat.trim();
    }

    public String getUseraddresslng() {
        return useraddresslng;
    }

    public RunfastGoodsSellRecord withUseraddresslng(String useraddresslng) {
        this.setUseraddresslng(useraddresslng);
        return this;
    }

    public void setUseraddresslng(String useraddresslng) {
        this.useraddresslng = useraddresslng == null ? null : useraddresslng.trim();
    }

    public String getBusinessaddr() {
        return businessaddr;
    }

    public RunfastGoodsSellRecord withBusinessaddr(String businessaddr) {
        this.setBusinessaddr(businessaddr);
        return this;
    }

    public void setBusinessaddr(String businessaddr) {
        this.businessaddr = businessaddr == null ? null : businessaddr.trim();
    }

    public BigDecimal getBusinesspay() {
        return businesspay;
    }

    public RunfastGoodsSellRecord withBusinesspay(BigDecimal businesspay) {
        this.setBusinesspay(businesspay);
        return this;
    }

    public void setBusinesspay(BigDecimal businesspay) {
        this.businesspay = businesspay;
    }

    public BigDecimal getRefund() {
        return refund;
    }

    public RunfastGoodsSellRecord withRefund(BigDecimal refund) {
        this.setRefund(refund);
        return this;
    }

    public void setRefund(BigDecimal refund) {
        this.refund = refund;
    }

    public Integer getIsdeliver() {
        return isdeliver;
    }

    public RunfastGoodsSellRecord withIsdeliver(Integer isdeliver) {
        this.setIsdeliver(isdeliver);
        return this;
    }

    public void setIsdeliver(Integer isdeliver) {
        this.isdeliver = isdeliver;
    }

    public String getQrcode() {
        return qrcode;
    }

    public RunfastGoodsSellRecord withQrcode(String qrcode) {
        this.setQrcode(qrcode);
        return this;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode == null ? null : qrcode.trim();
    }

    public String getRefundcontext() {
        return refundcontext;
    }

    public RunfastGoodsSellRecord withRefundcontext(String refundcontext) {
        this.setRefundcontext(refundcontext);
        return this;
    }

    public void setRefundcontext(String refundcontext) {
        this.refundcontext = refundcontext == null ? null : refundcontext.trim();
    }

    public BigDecimal getBusinessget() {
        return businessget;
    }

    public RunfastGoodsSellRecord withBusinessget(BigDecimal businessget) {
        this.setBusinessget(businessget);
        return this;
    }

    public void setBusinessget(BigDecimal businessget) {
        this.businessget = businessget;
    }

    public String getCityid() {
        return cityid;
    }

    public RunfastGoodsSellRecord withCityid(String cityid) {
        this.setCityid(cityid);
        return this;
    }

    public void setCityid(String cityid) {
        this.cityid = cityid == null ? null : cityid.trim();
    }

    public String getCityname() {
        return cityname;
    }

    public RunfastGoodsSellRecord withCityname(String cityname) {
        this.setCityname(cityname);
        return this;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname == null ? null : cityname.trim();
    }

    public String getCountyid() {
        return countyid;
    }

    public RunfastGoodsSellRecord withCountyid(String countyid) {
        this.setCountyid(countyid);
        return this;
    }

    public void setCountyid(String countyid) {
        this.countyid = countyid == null ? null : countyid.trim();
    }

    public String getCountyname() {
        return countyname;
    }

    public RunfastGoodsSellRecord withCountyname(String countyname) {
        this.setCountyname(countyname);
        return this;
    }

    public void setCountyname(String countyname) {
        this.countyname = countyname == null ? null : countyname.trim();
    }

    public String getTownid() {
        return townid;
    }

    public RunfastGoodsSellRecord withTownid(String townid) {
        this.setTownid(townid);
        return this;
    }

    public void setTownid(String townid) {
        this.townid = townid == null ? null : townid.trim();
    }

    public String getTownname() {
        return townname;
    }

    public RunfastGoodsSellRecord withTownname(String townname) {
        this.setTownname(townname);
        return this;
    }

    public void setTownname(String townname) {
        this.townname = townname == null ? null : townname.trim();
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastGoodsSellRecord withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastGoodsSellRecord withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    public String getBusinessmobile() {
        return businessmobile;
    }

    public RunfastGoodsSellRecord withBusinessmobile(String businessmobile) {
        this.setBusinessmobile(businessmobile);
        return this;
    }

    public void setBusinessmobile(String businessmobile) {
        this.businessmobile = businessmobile == null ? null : businessmobile.trim();
    }

    public Double getNocharge() {
        return nocharge;
    }

    public RunfastGoodsSellRecord withNocharge(Double nocharge) {
        this.setNocharge(nocharge);
        return this;
    }

    public void setNocharge(Double nocharge) {
        this.nocharge = nocharge;
    }

    public String getShoppermobile() {
        return shoppermobile;
    }

    public RunfastGoodsSellRecord withShoppermobile(String shoppermobile) {
        this.setShoppermobile(shoppermobile);
        return this;
    }

    public void setShoppermobile(String shoppermobile) {
        this.shoppermobile = shoppermobile == null ? null : shoppermobile.trim();
    }

    public Integer getShoppersign() {
        return shoppersign;
    }

    public RunfastGoodsSellRecord withShoppersign(Integer shoppersign) {
        this.setShoppersign(shoppersign);
        return this;
    }

    public void setShoppersign(Integer shoppersign) {
        this.shoppersign = shoppersign;
    }

    public Integer getActivityid() {
        return activityid;
    }

    public RunfastGoodsSellRecord withActivityid(Integer activityid) {
        this.setActivityid(activityid);
        return this;
    }

    public void setActivityid(Integer activityid) {
        this.activityid = activityid;
    }

    public String getActivityname() {
        return activityname;
    }

    public RunfastGoodsSellRecord withActivityname(String activityname) {
        this.setActivityname(activityname);
        return this;
    }

    public void setActivityname(String activityname) {
        this.activityname = activityname == null ? null : activityname.trim();
    }

    public BigDecimal getActivityprice() {
        return activityprice;
    }

    public RunfastGoodsSellRecord withActivityprice(BigDecimal activityprice) {
        this.setActivityprice(activityprice);
        return this;
    }

    public void setActivityprice(BigDecimal activityprice) {
        this.activityprice = activityprice;
    }

    public BigDecimal getDisprice() {
        return disprice;
    }

    public RunfastGoodsSellRecord withDisprice(BigDecimal disprice) {
        this.setDisprice(disprice);
        return this;
    }

    public void setDisprice(BigDecimal disprice) {
        this.disprice = disprice;
    }

    public Integer getDistributiontime() {
        return distributiontime;
    }

    public RunfastGoodsSellRecord withDistributiontime(Integer distributiontime) {
        this.setDistributiontime(distributiontime);
        return this;
    }

    public void setDistributiontime(Integer distributiontime) {
        this.distributiontime = distributiontime;
    }

    public String getOldshopper() {
        return oldshopper;
    }

    public RunfastGoodsSellRecord withOldshopper(String oldshopper) {
        this.setOldshopper(oldshopper);
        return this;
    }

    public void setOldshopper(String oldshopper) {
        this.oldshopper = oldshopper == null ? null : oldshopper.trim();
    }

    public Integer getOldshopperid() {
        return oldshopperid;
    }

    public RunfastGoodsSellRecord withOldshopperid(Integer oldshopperid) {
        this.setOldshopperid(oldshopperid);
        return this;
    }

    public void setOldshopperid(Integer oldshopperid) {
        this.oldshopperid = oldshopperid;
    }

    public String getOldshoppermobile() {
        return oldshoppermobile;
    }

    public RunfastGoodsSellRecord withOldshoppermobile(String oldshoppermobile) {
        this.setOldshoppermobile(oldshoppermobile);
        return this;
    }

    public void setOldshoppermobile(String oldshoppermobile) {
        this.oldshoppermobile = oldshoppermobile == null ? null : oldshoppermobile.trim();
    }

    public BigDecimal getAgentget() {
        return agentget;
    }

    public RunfastGoodsSellRecord withAgentget(BigDecimal agentget) {
        this.setAgentget(agentget);
        return this;
    }

    public void setAgentget(BigDecimal agentget) {
        this.agentget = agentget;
    }

    public Date getAcepttime() {
        return acepttime;
    }

    public RunfastGoodsSellRecord withAcepttime(Date acepttime) {
        this.setAcepttime(acepttime);
        return this;
    }

    public void setAcepttime(Date acepttime) {
        this.acepttime = acepttime;
    }

    public Date getPaytime() {
        return paytime;
    }

    public RunfastGoodsSellRecord withPaytime(Date paytime) {
        this.setPaytime(paytime);
        return this;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Integer getIsmute() {
        return ismute;
    }

    public RunfastGoodsSellRecord withIsmute(Integer ismute) {
        this.setIsmute(ismute);
        return this;
    }

    public void setIsmute(Integer ismute) {
        this.ismute = ismute;
    }

    public Integer getIsclearing() {
        return isclearing;
    }

    public RunfastGoodsSellRecord withIsclearing(Integer isclearing) {
        this.setIsclearing(isclearing);
        return this;
    }

    public void setIsclearing(Integer isclearing) {
        this.isclearing = isclearing;
    }

    public Date getRefundtime() {
        return refundtime;
    }

    public RunfastGoodsSellRecord withRefundtime(Date refundtime) {
        this.setRefundtime(refundtime);
        return this;
    }

    public void setRefundtime(Date refundtime) {
        this.refundtime = refundtime;
    }

    public Integer getRefundtype() {
        return refundtype;
    }

    public RunfastGoodsSellRecord withRefundtype(Integer refundtype) {
        this.setRefundtype(refundtype);
        return this;
    }

    public void setRefundtype(Integer refundtype) {
        this.refundtype = refundtype;
    }

    public BigDecimal getAgentbusget() {
        return agentbusget;
    }

    public RunfastGoodsSellRecord withAgentbusget(BigDecimal agentbusget) {
        this.setAgentbusget(agentbusget);
        return this;
    }

    public void setAgentbusget(BigDecimal agentbusget) {
        this.agentbusget = agentbusget;
    }

    public BigDecimal getAcoefficient() {
        return acoefficient;
    }

    public RunfastGoodsSellRecord withAcoefficient(BigDecimal acoefficient) {
        this.setAcoefficient(acoefficient);
        return this;
    }

    public void setAcoefficient(BigDecimal acoefficient) {
        this.acoefficient = acoefficient;
    }

    public BigDecimal getAcoefficient2() {
        return acoefficient2;
    }

    public RunfastGoodsSellRecord withAcoefficient2(BigDecimal acoefficient2) {
        this.setAcoefficient2(acoefficient2);
        return this;
    }

    public void setAcoefficient2(BigDecimal acoefficient2) {
        this.acoefficient2 = acoefficient2;
    }

    public BigDecimal getAgentbusget2() {
        return agentbusget2;
    }

    public RunfastGoodsSellRecord withAgentbusget2(BigDecimal agentbusget2) {
        this.setAgentbusget2(agentbusget2);
        return this;
    }

    public void setAgentbusget2(BigDecimal agentbusget2) {
        this.agentbusget2 = agentbusget2;
    }

    public BigDecimal getCoefficient() {
        return coefficient;
    }

    public RunfastGoodsSellRecord withCoefficient(BigDecimal coefficient) {
        this.setCoefficient(coefficient);
        return this;
    }

    public void setCoefficient(BigDecimal coefficient) {
        this.coefficient = coefficient;
    }

    public Integer getIsfirst() {
        return isfirst;
    }

    public RunfastGoodsSellRecord withIsfirst(Integer isfirst) {
        this.setIsfirst(isfirst);
        return this;
    }

    public void setIsfirst(Integer isfirst) {
        this.isfirst = isfirst;
    }

    public Integer getPtype() {
        return ptype;
    }

    public RunfastGoodsSellRecord withPtype(Integer ptype) {
        this.setPtype(ptype);
        return this;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public BigDecimal getZjzd() {
        return zjzd;
    }

    public RunfastGoodsSellRecord withZjzd(BigDecimal zjzd) {
        this.setZjzd(zjzd);
        return this;
    }

    public void setZjzd(BigDecimal zjzd) {
        this.zjzd = zjzd;
    }

    public Integer getRange1() {
        return range1;
    }

    public RunfastGoodsSellRecord withRange1(Integer range1) {
        this.setRange1(range1);
        return this;
    }

    public void setRange1(Integer range1) {
        this.range1 = range1;
    }

    public Integer getStype() {
        return stype;
    }

    public RunfastGoodsSellRecord withStype(Integer stype) {
        this.setStype(stype);
        return this;
    }

    public void setStype(Integer stype) {
        this.stype = stype;
    }

    public String getCouponname() {
        return couponname;
    }

    public RunfastGoodsSellRecord withCouponname(String couponname) {
        this.setCouponname(couponname);
        return this;
    }

    public void setCouponname(String couponname) {
        this.couponname = couponname == null ? null : couponname.trim();
    }

    public Integer getPaytype() {
        return paytype;
    }

    public RunfastGoodsSellRecord withPaytype(Integer paytype) {
        this.setPaytype(paytype);
        return this;
    }

    public void setPaytype(Integer paytype) {
        this.paytype = paytype;
    }

    public Integer getOrdernumber() {
        return ordernumber;
    }

    public RunfastGoodsSellRecord withOrdernumber(Integer ordernumber) {
        this.setOrdernumber(ordernumber);
        return this;
    }

    public void setOrdernumber(Integer ordernumber) {
        this.ordernumber = ordernumber;
    }

    public Date getAccpttime() {
        return accpttime;
    }

    public RunfastGoodsSellRecord withAccpttime(Date accpttime) {
        this.setAccpttime(accpttime);
        return this;
    }

    public void setAccpttime(Date accpttime) {
        this.accpttime = accpttime;
    }

    public Integer getIsaccpt() {
        return isaccpt;
    }

    public RunfastGoodsSellRecord withIsaccpt(Integer isaccpt) {
        this.setIsaccpt(isaccpt);
        return this;
    }

    public void setIsaccpt(Integer isaccpt) {
        this.isaccpt = isaccpt;
    }

    public Integer getPushtype() {
        return pushtype;
    }

    public RunfastGoodsSellRecord withPushtype(Integer pushtype) {
        this.setPushtype(pushtype);
        return this;
    }

    public void setPushtype(Integer pushtype) {
        this.pushtype = pushtype;
    }

    public String getUserphone() {
        return userphone;
    }

    public RunfastGoodsSellRecord withUserphone(String userphone) {
        this.setUserphone(userphone);
        return this;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone == null ? null : userphone.trim();
    }

    public Integer getApporwx() {
        return apporwx;
    }

    public RunfastGoodsSellRecord withApporwx(Integer apporwx) {
        this.setApporwx(apporwx);
        return this;
    }

    public void setApporwx(Integer apporwx) {
        this.apporwx = apporwx;
    }

    public Date getReadytime() {
        return readytime;
    }

    public RunfastGoodsSellRecord withReadytime(Date readytime) {
        this.setReadytime(readytime);
        return this;
    }

    public void setReadytime(Date readytime) {
        this.readytime = readytime;
    }

    public Date getDistime() {
        return distime;
    }

    public RunfastGoodsSellRecord withDistime(Date distime) {
        this.setDistime(distime);
        return this;
    }

    public void setDistime(Date distime) {
        this.distime = distime;
    }

    public Integer getErrend() {
        return errend;
    }

    public RunfastGoodsSellRecord withErrend(Integer errend) {
        this.setErrend(errend);
        return this;
    }

    public void setErrend(Integer errend) {
        this.errend = errend;
    }

    public Integer getTeamid() {
        return teamid;
    }

    public RunfastGoodsSellRecord withTeamid(Integer teamid) {
        this.setTeamid(teamid);
        return this;
    }

    public void setTeamid(Integer teamid) {
        this.teamid = teamid;
    }

    public String getTeamname() {
        return teamname;
    }

    public RunfastGoodsSellRecord withTeamname(String teamname) {
        this.setTeamname(teamname);
        return this;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname == null ? null : teamname.trim();
    }

    public Integer getIstimerefund() {
        return istimerefund;
    }

    public RunfastGoodsSellRecord withIstimerefund(Integer istimerefund) {
        this.setIstimerefund(istimerefund);
        return this;
    }

    public void setIstimerefund(Integer istimerefund) {
        this.istimerefund = istimerefund;
    }

    public Integer getIssubsidy() {
        return issubsidy;
    }

    public RunfastGoodsSellRecord withIssubsidy(Integer issubsidy) {
        this.setIssubsidy(issubsidy);
        return this;
    }

    public void setIssubsidy(Integer issubsidy) {
        this.issubsidy = issubsidy;
    }

    public BigDecimal getLessps() {
        return lessps;
    }

    public RunfastGoodsSellRecord withLessps(BigDecimal lessps) {
        this.setLessps(lessps);
        return this;
    }

    public void setLessps(BigDecimal lessps) {
        this.lessps = lessps;
    }

    public BigDecimal getSubsidy() {
        return subsidy;
    }

    public RunfastGoodsSellRecord withSubsidy(BigDecimal subsidy) {
        this.setSubsidy(subsidy);
        return this;
    }

    public void setSubsidy(BigDecimal subsidy) {
        this.subsidy = subsidy;
    }

    public Integer getAgree() {
        return agree;
    }

    public RunfastGoodsSellRecord withAgree(Integer agree) {
        this.setAgree(agree);
        return this;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }

    public String getContent1() {
        return content1;
    }

    public RunfastGoodsSellRecord withContent1(String content1) {
        this.setContent1(content1);
        return this;
    }

    public void setContent1(String content1) {
        this.content1 = content1 == null ? null : content1.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessid=").append(businessid);
        sb.append(", businessname=").append(businessname);
        sb.append(", content=").append(content);
        sb.append(", createtime=").append(createtime);
        sb.append(", goodssellid=").append(goodssellid);
        sb.append(", goodssellname=").append(goodssellname);
        sb.append(", ordercode=").append(ordercode);
        sb.append(", price=").append(price);
        sb.append(", status=").append(status);
        sb.append(", useraddress=").append(useraddress);
        sb.append(", userid=").append(userid);
        sb.append(", usermobile=").append(usermobile);
        sb.append(", username=").append(username);
        sb.append(", shopper=").append(shopper);
        sb.append(", shopperid=").append(shopperid);
        sb.append(", goodstotal=").append(goodstotal);
        sb.append(", useraddressid=").append(useraddressid);
        sb.append(", yhprice=").append(yhprice);
        sb.append(", packing=").append(packing);
        sb.append(", showps=").append(showps);
        sb.append(", statstr=").append(statstr);
        sb.append(", enddate=").append(enddate);
        sb.append(", rid=").append(rid);
        sb.append(", startdate=").append(startdate);
        sb.append(", totalpay=").append(totalpay);
        sb.append(", distance=").append(distance);
        sb.append(", iswithdraw=").append(iswithdraw);
        sb.append(", address=").append(address);
        sb.append(", businessdel=").append(businessdel);
        sb.append(", ispay=").append(ispay);
        sb.append(", isrefund=").append(isrefund);
        sb.append(", userdel=").append(userdel);
        sb.append(", iscoment=").append(iscoment);
        sb.append(", isreceive=").append(isreceive);
        sb.append(", iscancel=").append(iscancel);
        sb.append(", commisson=").append(commisson);
        sb.append(", shoppermoney=").append(shoppermoney);
        sb.append(", businessaddresslat=").append(businessaddresslat);
        sb.append(", businessaddresslng=").append(businessaddresslng);
        sb.append(", useraddresslat=").append(useraddresslat);
        sb.append(", useraddresslng=").append(useraddresslng);
        sb.append(", businessaddr=").append(businessaddr);
        sb.append(", businesspay=").append(businesspay);
        sb.append(", refund=").append(refund);
        sb.append(", isdeliver=").append(isdeliver);
        sb.append(", qrcode=").append(qrcode);
        sb.append(", refundcontext=").append(refundcontext);
        sb.append(", businessget=").append(businessget);
        sb.append(", cityid=").append(cityid);
        sb.append(", cityname=").append(cityname);
        sb.append(", countyid=").append(countyid);
        sb.append(", countyname=").append(countyname);
        sb.append(", townid=").append(townid);
        sb.append(", townname=").append(townname);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", businessmobile=").append(businessmobile);
        sb.append(", nocharge=").append(nocharge);
        sb.append(", shoppermobile=").append(shoppermobile);
        sb.append(", shoppersign=").append(shoppersign);
        sb.append(", activityid=").append(activityid);
        sb.append(", activityname=").append(activityname);
        sb.append(", activityprice=").append(activityprice);
        sb.append(", disprice=").append(disprice);
        sb.append(", distributiontime=").append(distributiontime);
        sb.append(", oldshopper=").append(oldshopper);
        sb.append(", oldshopperid=").append(oldshopperid);
        sb.append(", oldshoppermobile=").append(oldshoppermobile);
        sb.append(", agentget=").append(agentget);
        sb.append(", acepttime=").append(acepttime);
        sb.append(", paytime=").append(paytime);
        sb.append(", ismute=").append(ismute);
        sb.append(", isclearing=").append(isclearing);
        sb.append(", refundtime=").append(refundtime);
        sb.append(", refundtype=").append(refundtype);
        sb.append(", agentbusget=").append(agentbusget);
        sb.append(", acoefficient=").append(acoefficient);
        sb.append(", acoefficient2=").append(acoefficient2);
        sb.append(", agentbusget2=").append(agentbusget2);
        sb.append(", coefficient=").append(coefficient);
        sb.append(", isfirst=").append(isfirst);
        sb.append(", ptype=").append(ptype);
        sb.append(", zjzd=").append(zjzd);
        sb.append(", range1=").append(range1);
        sb.append(", stype=").append(stype);
        sb.append(", couponname=").append(couponname);
        sb.append(", paytype=").append(paytype);
        sb.append(", ordernumber=").append(ordernumber);
        sb.append(", accpttime=").append(accpttime);
        sb.append(", isaccpt=").append(isaccpt);
        sb.append(", pushtype=").append(pushtype);
        sb.append(", userphone=").append(userphone);
        sb.append(", apporwx=").append(apporwx);
        sb.append(", readytime=").append(readytime);
        sb.append(", distime=").append(distime);
        sb.append(", errend=").append(errend);
        sb.append(", teamid=").append(teamid);
        sb.append(", teamname=").append(teamname);
        sb.append(", istimerefund=").append(istimerefund);
        sb.append(", issubsidy=").append(issubsidy);
        sb.append(", lessps=").append(lessps);
        sb.append(", subsidy=").append(subsidy);
        sb.append(", agree=").append(agree);
        sb.append(", content1=").append(content1);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}